package Rangel.firebrigade.search;


import Rangel.common.world.entity.Path;
import Rangel.common.world.helper.RangelWorldHelper;
import adf.agent.info.AgentInfo;
import adf.agent.info.WorldInfo;
import rescuecore2.standard.entities.Area;
import rescuecore2.standard.entities.Building;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public abstract class SearchStrategy {

    protected List<Area> visitedAreas;
    protected Set<Area> blackList;
    protected RangelWorldHelper world;
    protected Path path;
    protected Building building;
    protected boolean searchInside;
    protected WorldInfo worldInfo;
    protected AgentInfo agentInfo;

    SearchStrategy(RangelWorldHelper world, WorldInfo worldInfo, AgentInfo agentInfo) {
        this.world = world;
        this.agentInfo = agentInfo;
        this.worldInfo = worldInfo;

        visitedAreas = new ArrayList<>();
        blackList = new HashSet<>();
        searchInside = false;
    }

}
